package com.diana.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface AlipayService {

    String alipayNotify(HttpServletRequest request, HttpServletResponse response);

    void alipayReturn(HttpServletRequest request, HttpServletResponse response) throws IOException;

    String doAlipayCheckParam(Map map);

    String doAlipay(String amount,String message);

    String alipayRefund(Map map);
}
